<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_sn" class="form-control" readonly name="row[refund_sn]" type="text"
                value="{$row.refund_sn|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_fee" class="form-control" readonly step="0.01" name="row[refund_fee]" type="number"
                value="{$row.refund_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_reason" class="form-control" readonly name="row[refund_reason]" type="text"
                value="{$row.refund_reason|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_mark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_mark" class="form-control" readonly name="row[refund_mark]" type="text"
                value="{$row.refund_mark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('审核备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-examine_mark" class="form-control" name="row[examine_mark]" type="text"
                value="{$row.examine_mark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                {foreach $row['images_array'] as $v}
                    <a href="{$v}"
                        data-url="{$v}" target="_blank" class="thumbnail">
                        <img src="{$v}" style="width: 100px;"
                            onerror="this.src='/kk.php/ajax/icon?suffix=jpg';this.onerror=null;" class="img-responsive">
                    </a>
                {/foreach}

            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_type')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="c-refund_type" data-rule="required" disabled class="form-control selectpicker" name="row[refund_type]">
                {foreach name="refundTypeList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.refund_type" }selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
        
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="refundStatusList" item="vo"}
                <label for="row[refund_status]-{$key}"><input id="row[refund_status]-{$key}" name="row[refund_status]"
                        type="radio" value="{$key}" {in name="key" value="$row.refund_status" }checked{/in} />
                    {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>